package com.gulimall.authserver.feign;

import com.netflix.client.ClientException;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("gumall-third-party")
public interface ThirdPartFeignService {
    @GetMapping("/sms/sendcode")
    public String Phone(@RequestParam("phone") String phone, @RequestParam("code") String code) throws ClientException;
}
